﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YearFee_List.aspx.cs" Inherits="Admin.YearCheckup.YearFee.YearFee_List" %>
<%@ Register Namespace="Rainy.FrameWork" TagPrefix="cc1" Assembly="Rainy.FrameWork" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>年审收费</title>
    <link href="/App_Themes/Default/Css/Default.css" rel="stylesheet" type="text/css" />
    <script src="/Components/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Jscript/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <!-- -->
    <div class="padd_bottom">
        <input type="button" value="新增" />
        <asp:Button ID="btnDel" runat="server" Text="删除"></asp:Button>
    </div>
    <!-- 查询条件 Start --->
    <table cellspacing="1" cellpadding="5" width="100%" class="tb_query"
        border="0">
        <tr>
            <td class="th_query">
                <table cellspacing="1" cellpadding="4" width="100%" bordercolor="#FFFFFF" bordercolorlight="#F8FBFF"
                    class="tablebg_Common" border="1">
                    <tr>
                        <td class="leftTd_Common" valign="middle">
                            受理号
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <input type="text" id="txtAccept_No" size="10" class="inputCommon" runat="server" />
                        </td>
                        <td class="leftTd_Common">
                            申请人
                        </td>
                        <td align="left" class="rightTd_Common">
                            <input type="text" id="txtRegister_Name" size="10" class="inputCommon" runat="server" />
                        </td>
                        <td class="leftTd_Common">
                            收费状态
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList ID="dprlCharge_State" runat="server">
                                <asp:ListItem Value="">全部</asp:ListItem>
                                <asp:ListItem Value="N" Selected="True">未收费</asp:ListItem>
                                <asp:ListItem Value="Y">已收费</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="leftTd_Common">
                            年审类型
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <asp:DropDownList ID="dprlAccept_type" runat="server">
                                <asp:ListItem Value="" Text="全部"></asp:ListItem>
                                <asp:ListItem Value="1" Text="个人年审"></asp:ListItem>
                                <asp:ListItem Value="2" Text="单位年审"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="leftTd_Common">
                            受理日期
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <input id="txtStartTime" class="Wdate" size="12" type="text" onClick="WdatePicker()" runat="server" readonly="readonly" />
                            &nbsp;至&nbsp;
                            <input id="txtEndTime" class="Wdate" size="12" type="text" onClick="WdatePicker()" runat="server" readonly="readonly" />
                        </td>
                        <td class="leftTd_Common">
                            收费日期
                        </td>
                        <td align="left" class="rightTd_Common" valign="middle">
                            <input id="txtFeeStartTime" class="Wdate" size="12" type="text" onClick="WdatePicker()" runat="server" readonly="readonly" />
                            &nbsp;至&nbsp;
                            <input id="txtFeeEndTime" class="Wdate" size="12" type="text" onClick="WdatePicker()" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 50px;" class="th_query" align="center" valign="middle">
                <asp:Button ID="btnQuery" runat="server" Text="查询" onclick="btnQuery_Click" />
            </td>
        </tr>
    </table>
    <!-- 查询条件 End -->
    <!-- 分页列表 Start -->
    <div class="padd_top">
        <asp:GridView ID="gvInfo" Width="100%" runat="server" DataKeyNames="PET_YEARCCK_ID"
            AutoGenerateColumns="False" SkinID="gvCommSkin" HeaderStyle-HorizontalAlign="Center" RowStyle-HorizontalAlign="Center" GridLines="None">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemStyle Width="16px" />
                    <HeaderTemplate>
                        <asp:CheckBox ID="CheckAll" runat="server" onclick="return CheckboxChoose(this); " />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <input id="DeleteThis" name="DeleteThis" type="checkbox" value='<%# Eval("PET_YEARCCK_ID")%>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                         <%# (this.pagingControl.CurrentPage - 1) * this.pagingControl.PageSize + Container.DataItemIndex + 1%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="ACCEPT_TYPE" HeaderText="受理类型" />
                <asp:BoundField DataField="ACCEPT_NO" HeaderText="受理编号" />
                <asp:BoundField DataField="REGISTER_NAME" HeaderText="申请人" />
                <asp:TemplateField HeaderText="费用/元">
                    <ItemTemplate>
                         <%# TotalMoney(Eval("ACCEPT_ID").ToString()) %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="CREATE_TIME" HeaderText="受理日期" DataFormatString="{0:yyyy-MM-dd}" />
                <asp:BoundField DataField="CHARGE_DATE" HeaderText="收费日期" DataFormatString="{0:yyyy-MM-dd}" />
                <asp:BoundField DataField="CHARGE_STATE" HeaderText="收费类型" /> 
            </Columns>
        </asp:GridView>
    </div>
    <div style="text-align: left;">
        <cc1:Paging ID="pagingControl" runat="server" PageSize="10" OnPageChanged="pagingControl_PageChanged"
            ShowFields="*" ></cc1:Paging>
    </div>
    <!-- 分页列表结束 -->
    <!-- -->
    </form>
</body>
</html>